local Lua__wjhl = fk.CreateSkill {

  name = "Lua__wjhl",

  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{

    ["Lua__wjhl"] = "无尽火力",
    [":Lua__wjhl"] = "锁定技，当你发动除此技能以外的角色技能时，若你的护甲少于20点，你获得1点护甲并重置【杀】的使用次数。",
    ["@armor"] = "护甲",
}

Lua__wjhl:addEffect(fk.SkillEffect, {
    anim_type = "support",
    can_trigger = function(self, event, target, player, data)
        return target == player and player:hasSkill(Lua__wjhl.name) and data.skill.name ~= Lua__wjhl.name and data ~= self and
        table.contains(player:getSkillNameList(), data.skill:getSkeleton().name) and not data.skill.is_delay_effect
    end,
    on_use = function(self, event, target, player, data)
        local room = player.room
        -- 获得护甲
        if player.shield < 20 then
          room:changeShield(player, 1)
          player:setCardUseHistory("slash", 0, Player.HistoryPhase)
        end
        
    end,
})

return Lua__wjhl